package it.das.task;

import it.das.activity.IActivity;

public class TaskA implements ITask {
	
	private IActivity read;
	private IActivity update;

	public void setRead(IActivity read) {
		this.read = read;
	}

	public void setUpdate(IActivity update) {
		this.update = update;
	}

	public Object perform(Object... args) {
		read.execute(args);
		update.execute(args);
		return null;
	}

}
